<template>
  <div id="app">
    <div id="nav">
     
    </div>
    <router-view/>
  </div>
</template>


<script lang="ts">
import { Component, Vue} from "vue-property-decorator"
import {State,Getter,Mutation,Action}from "vuex-class"

@Component({
  components: {}
})

export default class App extends Vue {
  @Action("setUser") setUser: any; 
  created() {
    this.setUser(localStorage.token)
  }
}
</script>

<style lang="scss">
#app {
  width: 100%;
  height: 100%;
}

</style>
